//
// Created by 17775 on 2024/10/21.
//

#ifndef RAYCI_CROSSSECTIONBASE_H
#define RAYCI_CROSSSECTIONBASE_H

#include <QDockWidget>
#include "../qcustomplot.h"


QT_BEGIN_NAMESPACE
namespace Ui { class CrossSectionBase; }
QT_END_NAMESPACE

class CrossSectionBase : public QDockWidget {
Q_OBJECT

signals:
    void showCrossSectionOptions();
    void setXCross();
    void setYCross();
    void setRadial();
    void setArbitrary();
    void setCircular();

public:
    explicit CrossSectionBase(QWidget *parent = nullptr);

    ~CrossSectionBase() override;

private:
    Ui::CrossSectionBase *ui;
    QCustomPlot *customPlot = nullptr;
    QCPTextElement *title = nullptr;
    QMenu *m_contextMenu = nullptr;
};


#endif //RAYCI_CROSSSECTIONBASE_H
